package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.dtos.WmSensitivePageReqDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {
    /**
     * 新增敏感
     * @return
     */
    ResponseResult saveSensitive(WmSensitiveDto dto);


    /**
     * 分页查询
     * @param dto
     * @return
     */
    ResponseResult findList(WmSensitivePageReqDto dto);

    //修改敏感词
    ResponseResult updateSensitive(WmSensitiveDto dto);


    //删除敏感词
    ResponseResult deleteSensitive(Integer id);
}
